<include file="Public/head" />
<body>
<load href="__CSS__/news/news.detail.css" />
<div class="bodyContainer">
<include file="Public/header" />
<include file="Public/breadcrumb" />
	<div class="newscontent">
		<div class="container">			
				<div class="main">
					<div class="header">
						<h1>{$news.title}</h1>
						<p class="info">Published By:<b>{$news.author}</b>,At:<b>{$news.addtime|date='Y/m/d H:i',###}</b>,<b>{$news.click}</b>times view</p>
					</div>
					<div class="content">
						{$news.content}	
					</div>
					<div class="siblings">					
						<span class="opbtn prev fl">Previous News:<if condition="$prev"><a href="{:U('News/detail', array('nid'=>$prev['id'], 'justfrom'=>'newscp'))}" title="{$prev.title}">{$prev.title|mb_substr=0,53,'UTF-8'} </a><else />The First Blog Already!</if></span>
						<span class="opbtn next fr">Next News: <if condition="$next"><a href="{:U('News/detail', array('nid'=>$next['id'], 'justfrom'=>'newscp'))}" title="{$next.title}">{$next.title|mb_substr=0,53,'UTF-8'}</a><else />The Last Blog Already!</if></span>
					</div>
				</div>
			<div class="related">		
				<div class="title">newest Blogs</div>				
					<div class="list_content">
						<if condition="$newest">
						<foreach name="newest" item="new">
						<div class="hot_rec">
						<a href="{:U('News/detail', array('nid'=>$new['id'], 'justfrom'=>'blogc'))}" class="hotlink" >
							<div class="imgbox"><img src="{$new.cover}" alt="{$new.title}" /></div>
							<div class="info">
								<h1>{$new.title|substr=0,35}</h1>
								<p class="pub">
									<span class="fl"><i class="fa fa-clock-o"></i>{$new.addtime|date='Y/m/d H:i',###}</span>
									<span class="fr"><i class="fa fa-eye"></i>{$new.click}</span>
								</p>
							</div>
						</a>	
						</div>
						</foreach>
						<else />
						<div class="no_data" style="padding: 50px 0; text-align: center; font-size: 2em;color: #666;">No Blogs to display !</div>
						</if>						
					</div>	
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="./assets/common/js/tools/jquery.imgzoom.js"></script>
<script type="text/javascript">
$('.newscontent .container .related .hot_rec .imgbox img').zoom_img();
</script>
<!-- //登录表单 页面 -->
<include file="Public/footer"/>
</body>
</html>